package megrez.common.util;

/**
 * 系统异常
 *  
 * @author Lucky Yang
 * @since 0.0.1
 */
public enum MegrezErrorCode implements ErrorCode {
    /** 异常 */
    ENTITY_NOT_FOUND("100001", "记录未找到");

    private final String code;
    private final String message;
    
    private MegrezErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
    
}
